package com.ifreeee.sort.quicksort.stack;

import com.ifreeee.structure.linked.Linked;

public class LinkedStackNode extends Linked<LinkedStackNode> {

    private int left;//左下标
    private int right;//右下标
    private int pivot;//基数

    public LinkedStackNode() {
    }

    public LinkedStackNode(int left, int right, int pivot) {
        this.left = left;
        this.right = right;
        this.pivot = pivot;
    }

    public int getLeft() {
        return left;
    }

    public void setLeft(int left) {
        this.left = left;
    }

    public int getRight() {
        return right;
    }

    public void setRight(int right) {
        this.right = right;
    }

    public int getPivot() {
        return pivot;
    }

    public void setPivot(int pivot) {
        this.pivot = pivot;
    }


}
